package com.train.schoolplan.user.dao;

import com.train.schoolplan.user.model.User;
import org.apache.ibatis.annotations.Mapper;

import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

/**
 * @Description:文件描述：用户操作持久层接口
 */
@Mapper
@Repository
public interface UserDao {
    @Select("select * from userinfo where username=#{username}")
    public User getUser(String username);
}
